Effect of spike-timing-dependent plasticity on coherence resonance and synchronization transitions by time delay in adaptive neuronal networks