Brightly and directionally luminescent single-walled carbon nanotubes in a wedge cavity