Estimation of the quality of life in housing for the elderly based on a structural equation model