S og SF klar til forlig om flere penge til forskning