Numerical properties of isotrivial fibrations