Star formation in extragalactic HII regions. Determination of parameters of the initial mass function