Nanosized inorganic/organic composites for solar energy conversion