CVD diamond films: from growth to applications