Four men have been sentenced over illegally dump waste at six sites across London after an investigation by the Environment Agency.