How does potassium affect nerve function?