Quantal response equilibrium with a continuum of types: Characterization and nonparametric identification