Impact of market prices on energy scheduling of microgrid operating with renewable energy sources and storage