Swiss president makes surprise decision to quit government