how will you get the electron configuration of an element?