Syntheses and structures of dimeric sodium and potassium