The US flag has been raised over the restored American embassy in Cuba, signalling the warming of ties between both countries.