NONVANISHING OF QUADRATIC TWISTS OF MODULAR L-FUNCTIONS AND APPLICATIONS TO ELLIPTIC CURVES