Canadian police chief warns officers against using databases to look up women