Resolution and robustness bounds for reconstructive spectrometers