Mechanical stress control in a VLSI-fabrication process: a method for obtaining the relation between stress levels and stress-induced failures