US ambassador killed in attack on Libya consulate