Ion migration in 3D metal halide perovskite field effect transistors