An XMM-Newton view of the dipping low-mass X-ray binary XTE J1710-281