Ex-general Petr Pavel becomes new Czech president