Soaring home prices may have convinced you that real estate rivals stocks as an investment. Is that true?