Patterned organic and inorganic composites for electronic applications