DEBT AND WARRANT EXCHANGE AGREEMENT among HTM HOLDINGS, INC., and SMTC MANUFACTURING CORPORATION OF CANADA as Borrowers, SMTC CORPORATION, as Guarantor of the Existing Notes and Parent of the Borrowers, and THE DEBT HOLDERS Dated as of June 1, 2004