Quantitative model of the Martian magnetopause shape and its variation with the solar wind ram pressure based on Phobos 2 observations