Times Co. reports a loss, tempered by digital growth