Mold-assisted near-field optical lithography