Zaslat SMS: The mid-infrared instrument for the James Webb space telescope: IV. The low resolution spectrometer