Phantom scalar field with arbitrary potential: accelerating scaling attractors