Flocculent and grand design spiral galaxies in groups: time scales for the persistence of grand design spiral structures