Active and passive defects in tetragonal tungsten bronze relaxor ferroelectrics