An investigation of ground reaction torque during walking and running