Four convicted over Shanghai fire