Single and multilayer metamaterials fabricated by nanoimprint lithography