Study shows renting may be a better deal than buying a home