QUADRATIC TWISTS OF MODULAR FORMS AND ELLIPTIC CURVES