Rare and CP-Violating K and B Decays in the Littlest Higgs Model with T-Parity