Multiwavelength observations of Mrk 501 in 2008