Impact of template stiffness during peeling release in nanoimprint lithography