Effect of substrate pretreatment on diamond deposition