Ordered rippling of polymer surfaces by nanolithography: influence of scan pattern and boundary effects