The Influence of Heat Exchanges on Friction in Robotic Joints: Theoretical Modelling, Identification and Experiments