High-pressure and high-temperature treatment of N-rich B-doped diamonds