The internal rotation of low-mass stars from solar and stellar seismology