The origins of near band-edge transitions in hexagonal boron nitride epilayers