Theory of nonlinear elastic behavior of nematic liquid crystals near the nematic-smectic-Aphase transition