Existence and regularity of minimizers of nonconvex integrals with p-q growth