Selected-area deposition of diamond films