Conformational analysis and intramolecular interactions of L-proline methyl ester and its N-acetylated derivative through spectroscopic and theoretical studies.