N = 1 and nonsupersymmetric open string theories in six and four space-time dimensions