Efficient chemical production of metastable alkaline earth atoms