The behavior of the principal eigenvalue of a mixed elliptic problem with respect to a parameter