Orientational ordering in two-dimensional systems with long-range interaction