A space-time discontinuous Galerkin method for Boussinesq-type equations