Effect of localized wall cooling or heating on streaks in high-speed boundary layers