Multiple magnetic transitions and large magnetoresistance of the Y0.5Ho0.5Mn6Sn6 compound