Blasts and gunfire heard in Tripoli, Harriet Sherwood reports