Relaxation of the resistive superconducting state in boron-doped diamond films