On a two‐parameter generalization of Hecke algebras and the XY chain in a magnetic field