Periods for irregular singular connections on surfaces