Compositional analysis of laser produced plasma plume in front and back ablation geometries