Pair convicted over violent attack on council litter official