A family who said they could hear hospital staff laughing in a nearby room as their son was taken off life support were given "poor bereavement" care, an investigation has found.