Gravar-mail: The equivalence of minimum entropy production and maximum thermal efficiency in endoreversible heat engines