Stock markets close lower as Sensex and Nifty retreat ahead of US Federal Reserve meeting, realty sector shines.