Quantum-reduced loop gravity: Cosmology