Crossing the phantom divide line in the Chaplygin gas model