Detecting, measuring or recording pulse rate or heart rate {with portable devices, e.g. worn by the patient}