Stabilizing mechanism of single-atom catalysts on a defective carbon surface