Study of the behaviour of monomers in thermal nanoimprint lithography