Vibrational and dielectric properties of AlN:a first- principles study