Nondestructive characterization of diamond films