Text this: Resource allocation mechanism in the TWDM-PON and C-RAN joint architecture with hybrid energy supply