Patterning of high density magnetic nanodot arrays by nanoimprint lithography