The Duchess of Sussex has revealed she suffered a miscarriage, losing her second child during the summer.