Disentangling direct and indirect determinants of the duration of maternal care in brown bears: Environmental context matters