The parents of the terminally ill British baby Charlie Gard have given up their legal fight over treatment for their son.