Charge gap and dimensional crossovers in quasi-one-dimensional organic conductors