Nanoreactors for inorganic cluster synthesis