Self-association of beta-amyloid peptide (1-40) in solution and binding to lipid membranes.