Face recognition in humans and machines