Functions of amyloid precursor protein in metabolic diseases.