Sensitivity study of CO2 storage in saline aquifers in the presence of a gas cap