Cardiff City manager Neil Warnock says the way Leicester continued to improve each season after promotion into the Premier League should be a model for his club to emulate.