"Optimal Mortgage Refinancing: A Closed-Form Solution"