Scott Sinclair marked his Celtic debut by scoring the winner in a 2-1 win over Hearts in the Scottish Premiership.