Electrochemical degradation and mineralization of tetracycline on a boron-doped diamond electrode