Sensex and Nifty decline amid profit-taking, foreign fund outflows; Infosys reports strong earnings; India-UK trade agreement signed.