More than half of UK adults with investments did not know how much money they could leave their loved ones before being hit with an inheritance tax bill, research has revealed.