Spin-glass behaviour of nanocrystalline diamond intercalated with potassium