Fast algorithms for Bayesian variable selection