Coordination in distributed networks via coded actions with application to power control