San Diego judge rules police records must be turned over