The tendency of an element to react is closely related to