Structures and molecular motions in alkaline earth hexammines