Output power analyses of an endoreversible Carnot heat engine with irreversible heat transfer processes based on generalized heat transfer law