Hopf algebra of ribbon graphs and renormalization