John Lewis warns staff over bonus as losses widen