Hyperelliptic modular curves X_0(n) and isogenies of elliptic curves over quadratic fields