Tailoring Calcium Carbonate to Serve as Optical Functional Material: Examples from Biology and Materials Science