Magnetophonon Resonance by Quantum Size Effects in n-Ge-based and n-GaAs-based Quantum-dot Superlattices