Inverted Al0.25Ga0.75N/GaN ultraviolet p-i-n photodiodes formed on p-GaN template layer grown by metalorganic vapor phase epitaxy