Cooling of a levitated nanoparticle to the motional quantum ground state