A method and apparatus for generating a frame sync word and verifying the frame sync word in a W-CDMA system