Compounds formed between a metal and a nonmetal will have what kind of bonds