Spatial phase control and applications of high-order harmonics