REITs were battered in August market turmoil but are still solid