An Exponentially Convergent Nonpolynomial Finite Element Method for Time-Harmonic Scattering from Polygons