Magnetic behavior of Joule-heated magnetic core–shell nanowires with positive magnetostrictive core material