Effects of universal extra dimensions on top-quark electromagnetic interactions