Fretting of polyimide coatings Part I: Structure and moisture effects