Effects of three-step magnesium doping in p-GaN layer on the properties of InGaN-based light-emitting diode