Development and application of QM/MM methods to study the solvation effects and surfaces