Encapsulated semiconductor nanocrystals formed in insulators by ion beam synthesis