In situ structural evolution and activity descriptor of atomically dispersed catalysts during nitrate electroreduction