Analysis of distortion in interferometric lithography