Hysteresis and creep: Comparison between a power-law model and Kuhnen's model