Surface / interface characterization of thin film energy devices