Mechanical efficiency, work and heat output in running uphill or downhill