Melting of DNA with Secondary-Structure Defects