Understanding the dynamics of heavy metals in a freshwater ecosystem through their toxicity and bioavailability assay