Direct Measurement of the In-Plane Thermal Diffusivity of Semitransparent Thin Films by Lock-In Thermography: An Extension of the Slopes Method