What controls the composition and the structure of nanomaterials generated by laser ablation in liquid solution?