Tight security as Indian president visits frontline troops in Kashmir