Guardiola to quit Barcelona job