High resolution emission spectroscopy of the E2Π–X2Σ+ transition of SrH and SrD