Band structure and high-pressure phase transition in GaN, AlN, InN and BN