Medical costs are rising. Stocks are slumping. How to get the most bang out of this tax-favored account