Some homes damaged by Barrie, Ont., tornado not up to code, researchers say