The system CO2-CH4-N2 in fluid inclusions: theoretical modelling and geological applications