Power dissipation and heat production in bubble columns: Approach based on nonequilibrium thermodynamics