Measurement of the frequency of the methane-stabilised laser at 3.39 µm and of the R(32) transition of CO2 at 10.17 µm