A Human-Machine Joint Learning Framework to Boost Endogenous BCI Training