Facile preparation of superhydrophobic coatings by sol–gel processes