Charlie Gard's parents have ended their legal fight over treatment for their terminally-ill baby son, saying: "We are sorry we could not save you."