Social Security and Medicare finances worsen