Study of visible-light emission in pure and methane-doped liquid argon