Photonic application of diatom frustules