What do you understand by valency of an element?