Transcritical and zero-Hopf bifurcations in the Genesio system