The Dependence of Oxidation Parameters and Dyes’ Molecular Structures on Microstructure of Boron-Doped Diamond in Electrochemical Oxidation Process of Dye Wastewater