Atomic origin of the coexistence of high critical current density and high Tc in CuBa2Ca3Cu4O10+δ superconductors