Design of randomized experiments to measure social interaction effects