The hydrophobic effect as a driving force for charge inversion in colloids