Provost Alan M. Garber, Harvard's chief academic officer, will serve as interim president effective immediately.