Shape control with the XSC during plasma current ramp-up and ramp-down at the JET tokamak