Ranieri has sympathy for sacked Fulham boss Jokanovic