X-Ray Optics and Inner-Shell Electronics of Hexagonal BN