California to shorten time needed for teacher credential