Coatings containing a composite material such as inorganic/organic, i.e. material comprising different phases