A quantum deformation of the Virasoro algebra and the Macdonald symmetric functions