Sam Smith to sing at the Melbourne Cup