the peripheral nervous system has two parts .what activities does each control