A method for making elastic metal interconnects