Shakhtar's Champions League rivals Celtic scored a difficult away victory over Hearts in the Scottish Championship