Emission of water-window soft x-rays under optically thin conditions using low-density foam targets.