The imide ion: potential energy surface and geometries