House passes bill that opens the door to foreign investment in REITs