Photoplethysmographic measurement of heart and respiratory rates using digital filters