Mean-field approximations with adaptive coupling for networks with spike-timing-dependent plasticity