Generalized balanced power diagrams for 3D representations of polycrystals