Judges order California to release inmates