Nanoreplication in polymers using hot embossing and injection molding