Measuring empathy for human and robot hand pain using electroencephalography