The Impact of Longevity and Investment Risk on a Portfolio of Life Insurance Liabilities