Multiwavelength observations of the TeV blazar Mrk 501 in March 1996. The first report of the detection by EGRET