Brendan Rodgers praised Celtic's "persistence and quality" after two late goals at St Johnstone took them six points clear of Rangers at the top of the Scottish Premiership.