Switching phenomena in boron-implanted amorphous carbon films