On the reliability of wearable technology: A tutorial on measuring heart rate and heart rate variability in the wild