Real-time monitoring of railway traffic using slope-assisted Brillouin distributed sensors