Forewarning model of landslides triggered by rainfall