Electronic structure of wurtzite and zinc-blende AlN