Should a retiree rent or buy a home? Here’s how to know.