Ravens' Ray Lewis will retire after playoffs