Describe the role of the skin in temperature regulation, with reference to sweating, vasoconstriction and vasodilation.