Applying Lagrangian fluid mechanics to infer scalar source distributions from concentration profiles in plant canopies