Measuring social norms and preferences using experimental games