Thermal elastohydrodynamic lubrication of spur gears