Isotherm and thermodynamic studies of the biosorption of metal ions onto chemically modified plant materials