The role of resonator neuron in the dynamics of two coupled integrator and resonator neurons of different types of excitability