X-ray microdiffraction studies of mechanical behavior and electromigration in thin film structures