Authorities say a bomb exploded as a car carrying prosecutor Bitar Bitarov to his office in the republic capital , Makhachkala , passed by .