Synthesis and physical properties of alkaline earth metal graphite compounds