Obstacle problems with measure data