Deformation and tidal evolution of close-in planets and satellites using a Maxwell viscoelastic rheology