Gun possession case thrown out over ‘serious’ misconduct by Toronto police officer