Maximum likelihood estimation of the parameters of the generalized extreme-value distribution