Encounters between bears and people on the rise