Periods for irregular singular connections