A Novel Operating Strategy for Customer-Side Energy Storages in Presence of Dynamic Electricity Prices