Heart risk 'of working when ill'