India warns Pakistan against executing retired naval officer