On the dimension and minimum distance of BCH codes over GF(q)