Railway to construct security fences at rail crossings to prevent stone-pelting, accidents