Gradient regularity for minimizers of functionals under p-q subquadratic growth