Ultrapurification of water for electrochemical and surface chemical work by catalytic pyrodistillation