Man shot by Temple police after throwing knives at them