Multiphysics modelling, quantum chemistry and risk analysis for corrosion inhibitor design and lifetime prediction.