Critical Conditions for Adsorption of Calcium Ions onto Dipolar Lipid Membranes