On the imprimitive substitution groups of degree fifteen and the primitive substitution groups of degree eighteen