Polynomial interpolation of modular forms for Hecke groups