London’s transport chief quits after just two years