Selmer groups of quadratic twists of elliptic curves