Band alignment at interfaces of two-dimensional materials: internal photoemission analysis