Active Participation of Demand Through a Secondary Ancillary Services Market in a Smart Grid Environment