Plane-wave basis finite elements and boundary elements for three-dimensional wave scattering