Endoscopic hemostasis using laser photocoagulation and electrocoagulation