The ions produced by traces of alkaline earths in hydrogen flames