Dynamics and stellar populations in early-type galaxies