Dynamic response and energy loss in jointed structures using finite element methods: application to an aero-engine casing assembly