Nifty closes flat as earnings offset geopolitical concerns; rupee hits 1-month low