Thickness-dependent electronic and optical properties of faceted hexagonal aluminum nitride nanotubes