A resistometric method to characterize electromigration at the wafer level