The unitary completion and QR iterations for a class of structured matrices