Boundary element method for dynamic poroelastic and thermoelastic analyses