Former Titans linebacker formally announces retirement