A new study finds that cooking onion and garlic the wring way can be harmful for the heart. Read on to understand how.