Amyloid precursor protein (APP) regulates synaptic structure and function