Engineer given six years in prison over Latvian supermarket collapse