Cation complexation and effect of solvation in molecules of biological interest: A quantum chemical study