Edge energy and pore stability in bilayer lipid membranes