Interfacial Interactions during Demolding in Nanoimprint Lithography