Two Londoners have completed seven marathons in seven days, raising more than £16,000 for families experiencing baby loss.