A shell-model calculation of 18F and 18O using the Tabakin interaction