Accretional capture of the Moon