Two-dimensional electronic devices modulated by the activation of donor-like states in boron nitride.