Pakistan grants consular access to alleged Indian spy