Electronic and magnetic properties of the diluted magnetic semiconductor Hg1-xMnxTe1-ySey