Synthesis of MS (M = Zn, Cd, and Pb)–chitosan nanocomposite film via a simulating biomineralization method