Proton irradiation effects and magnetic order in carbon structures