Effect of the greenhouse gases (CO2, H2O, SO2) on Martian paleoclimate