Long-range interactions of excited He atoms with the alkaline earth atoms Mg, Ca, and Sr.