Complex Lagrangians and phantom cosmology