Nifty ends week up 0.74% despite Friday decline on geopolitical tensions