Stanford University president to quit after review finds flaws in his research