Design and synthesis of quinazolinyl acetamides for their analgesic and anti-inflammatory activities