A campaign has been launched to raise awareness of the dangers of people trespassing on Scotland's railway tracks.