The Swiss central bank suffered a record loss from the strong franc and weak gold