Theoretical study of structure and basicity of some alkali metal oxides, hydroxides, and amides