More homeowners opt to become landlords