Optimized Kalpha x-ray flashes from femtosecond-laser-irradiated foils.