People who lose a loved one or experience the heartbreak of pregnancy loss will be entitled to up to two weeks unpaid leave under changes to the law from next April