A hybrid electricity pricing mechanism for joint system optimization and social acceptance within energy communities