Modelling fluid-structure interaction in flapping wings through a combined lattice Boltzmann-finite element method