Tribological and mechanical characterization of thin polymer films