Sensitivity and lineshape improvement in ultrafast 2D NMR by optimized apodization in the spatially encoded dimension