Calif. becomes first state to ban gay cure therapy