Theoretical methods of calculating solvation effects