Topology-symmetry analysis of the mixed frameworks in the structures of phosphates, germanates, gallates, and silicates based on fundamental building blocks