Attitude regulation for spacecraft with magnetic actuators: an LPV approach