Comparison of local and global optimisation techniques for diffusion battery data analysis