A comparison of the magnetic properties of proton- and iron-implanted graphite