Scientists identify a compound that protects neurons from degeneration