Binding-induced folding transitions in calpastatin subdomains A and C