Hybrid structures from inorganic and organic materials