A Molecular Statistical Theory of Smectic A Liquid Crystals