Electronic and Magnetic Properties of Transition-Metal-Doped Monolayer Black Phosphorus by Defect Engineering