Intercalation kinetics in multiphase layered materials