Galactic bars with central mass concentrations : three-dimensional dynamics