Structural Modification of a Lamellar Solid by Thermal Treatment. Effect on the Cd and Pb Adsorptions from Aqueous Solution