RedAgent: Red Teaming Large Language Models with Context-aware Autonomous Language Agent