The physico-chemical mechanism of nerve activity