An experimental and theoretical study of the hydrogen resistance of Ti3SiC2 and Ti3AlC2