Comparison of the electrical and luminescent properties of p-layer-up and n-layer-up GaN/InGaN light emitting diodes and the effects of Mn doping of the upper n-layer