Effects of fluid-structure interaction on trailing-edge noise