Spectrally selective surfaces by chemical vapor deposition