Real-estate investment trusts have had enormous payouts for a long time, but it pays to be discriminating.