Rangers stretched their lead at the top of the Championship with a performance that demoralised Raith Rovers.