Gauge theories on noncommutative C P N and BPS-like equations