Former Manchester City manager Pep Guardiola says it was a "nightmare" taking on the challenge posed by Jurgen Klopp's formidable Liverpool teams.