Quantitative prediction of the mechanical properties of precipitation-hardened alloys with special application to Al–Mg–Si