Deriving fault-slip histories to test for secular variation in slip, with examples from the Kunlun and Awatere faults