Bulk and surface electronic structure of hexagonal boron nitride.