Conducting Human-Subject Experiments with Virtual and Augmented Reality