Highly homogeneous nanostructured templates based on environmental friendly microemulsion for nanomaterials processing