Cogeneration of steam and electric power