Continuous-time mean–variance portfolio selection with liability and regime switching · Study