Excitons and optical nonlinearities in hybrid organic-inorganic nanostructures