Optimizing post-combustion CO2 capture in response to volatile electricity prices