Railways plans to punish officials for negligence in case of accidents