3-Selmer groups for curves y^2=x^3+a