Synchronization of the minimal models of bursting neurons coupled by delayed chemical or electrical synapses