People are getting older before they can afford to buy their first home, new survey shows