Spectrally multiplexed solid-state memories for quantum repeaters