Unprecedented study of the broadband emission of Mrk 421 during flaring activity in March 2010