Brendan Rodgers says Frank Lampard "needed time and sadly for him he didn't get that time" after he was sacked by Chelsea.