ThermoEnergy Corporation Securities Purchase Agreement