Swiss central bank posts record half year profit