Aging, Unemployment, and Welfare in a Life-Cycle Model with Costly Labor Market Search