Bacterial metal-resistance proteins and their use in biosensors for the detection of bioavailable heavy metals