Chemodynamical modelling of the galactic bulge and bar