Geochemistry of acid mine drainage from a coal mining area and processes controlling metal attenuation in stream waters, southern Brazil