Reanalysis of the A3Πi–X3Σ− systems of OH+ and OD+