Larry Summers resigns from academic posts amid investigation into relations with late convicted sex trafficker