Threshold dynamics of an SIR epidemic model with hybrid of multigroup and patch structures.