Simulation of three‐dimensional flows over moving objects by an improved immersed boundary–lattice Boltzmann method