Spatial frequency mixing in lithium niobate