The effect of vicinal polar and charged groups on hydrophobic hydration