British foreign minister visits Tripoli, promises £10m fund