Quadratic algebras of skew type and the underlying semigroups