Gravity effects in fluids near the gas-liquid critical point