First-principles calculations of Cs adsorbed on Cu(001): Quantum size effect in surface energetics and surface chemical reactivities