Shape coexistence in the neutron-rich nickel isotopes near N = 40