Functionalization of carbon nanostructures by inorganic nanocrystals and potential applications