Secondary electron emission from boron-doped diamond under ion impact: Applications in single-ion detection