Hecke relations in rational conformal field theory