Text this: Resource allocation algorithm for cognitive radio systems based on STAR-RIS with coupled phase shifts