Static general relativistic solutions supported by phantom and ordinary scalar fields with higher-order potentials