First-time buyers are taking out increasingly expensive loans in a bid to get on to the property ladder, a new study shows.