Effect of Mg doping in the barriers on the electrical performance of InGaN/GaN-based light-emitting diodes