Effects of losses on the transmission and reflection in the single-negative materials