Dynamics of energy transport and entropy production in ac-driven quantum electron systems