The extended hyperbolic function method and exact solutions of the long–short wave resonance equations