Colocated MIMO radar waveform-design based on two-step optimizations in spatial and spectral domains