What is a debt-to-income (DTI) ratio and why is it important when applying for a mortgage?