Railways police to be digitalised within three months