Applications of Nanotechnology in Astronomy