Isoparametric hypersurfaces with four or six distinct principal curvatures