Surface functionalization of boron-doped diamond