University of California to pay out nearly $700m over gynaecologist accused of sexual abuse