Solubility of gases in liquids from the first-order perturbation theory of convex molecules