Quantum mechanical study of the conformational behavior of proline and 4R-hydroxyproline dipeptide analogues in vacuum and in aqueous solution.