Non-paraxial Talbot Effect for Building Compact Spectrometers