Effects of Sn atoms on formation of ZnO nanorings