Formation and properties of metallic atomic contacts