Optimization of the Heat Treatment and Tribological Properties of 2024 and 7075 Aluminium Alloys