Investigations of the optical properties of enamel and dentin for early caries detection