Extended pure Yang-Mills gauge theories with scalar and tensor gauge fields