Violence was widespread in early farming society, study says