Second-harmonic generation in centrosymmetric molecular films: Analysis under anisotropic conditions.