The Electronic Structure of Superhalogens and Superalkalies