Grieving families refused legal aid if they raise money through online appeals, MoJ emails reveal