Tonality Detection in Perceptual Coding of Audio