how to write longhand electron configuration