Fractional D-branes and their gauge duals