Sparse input support in BaggingClassfier and BaggingRegressor #3241