Syria’s interim president signed a temporary constitution on Thursday that leaves the country under Islamist rule for five years during a transitional phase.