Risk factors of pacing dependence and cardiac dysfunction in patients with permanent pacemaker implantation