Optical sum-frequency emission from langmuir-blodgett films of variable thickness: effects of the substrate and polar orientation of fatty acids in the films.