Spain supports Morocco in rejecting referendum