Pošljite SMS: GalICS 2.1: a new semianalytic model for cold accretion, cooling, feedback, and their roles in galaxy formation