A study of perfectionism and self-harm in medical and nursing students: the mediating role of perceived social support