Penelope Cruz developed a bad smoking habit by portraying characters who puffed away onscreen.