The monthly cost of renting rose just as fast as mortgage increases over the last three years, figures show.