Economic demand response model in liberalised electricity markets with respect to flexibility of consumers