Numerical simulations of flapping foil and wing aerodynamics: Mesh deformation using radial basis functions