XABS2: an empirical absorption correction program