Extracting Energy from Water: Electricity Generation from Wastewaters, Using Microbial Fuel Cells, and from Natural or Engineered Salinity Gradients