Stochastic simulation of the UV curing process in nanoimprint lithography: Pattern size and shape effects in sub-50 nm lithography