A Photoplethysmography System Optimised for Pervasive Cardiac Monitoring