what are the 3 main structures of a neuron and the purpose of each structure