People on coast help dolphins to safety