Temporally Consistent Object-Centric Learning by Contrasting Slots