Computing stock price comovements with a three-regime panel smooth transition error correction model