Vibrational properties of Re2N and Re3N compounds