Real-Space Renormalization-Group Method for Quantum Systems