The Yemeni government and the Houthi rebel movement have agreed to attend peace talks this month in Switzerland, the UN's special envoy says.