Teacher shortage a "global phenomenon," UN agency warns