Energy analysis of a cogeneration system based on molten carbonate fuel cell