has characteristics of metals and nonmetalsq