AFM-Based nanofabrication and quality inspection of three-dimensional nanotemplates for soft lithography