Foundations of Quantum Granular Computing with Effect-Based Granules, Algebraic Properties and Reference Architectures