Comparison of the electronic structures of AlN nanotips grown on p- and n-type Si substrates