McGinn scores twice, Coyotes beat Red Wings