Organic–inorganic polymer hybrids and porous materials obtained on their basis