The analysis of defect structures and substrate/film interfaces of diamond thin films