Computer simulation of hybrid organic-inorganic nanocomposites