Amyloidogenesis as protective response in invertebrates and vertebrates.