Bayesian variable and link determination for generalised linear models