The magnetic structure and phase transitions of holmium-yttrium alloys