Superstring-inspired supergravity as the universal source of inflation and quintessence