Shape and amplitude of the spikes induced by natural or electrical stimulation in insect receptors