Mechanical and hydrophobic properties of chromium carbide films via a multi-objective optimization approach