Spectroscopic investigations of band offsets of MgO|AlxGa1-xN epitaxial heterostructures with varying AlN content