An X-ray absorption spectroscopy study of Cd binding onto bacterial consortia