Text this: Optical properties of thin hexagonal boron nitride layers