Hadron-quark phase transitions in hyperon stars