A 3-D viscoelastoplastic model for simulating long-term slip on non-planar faults