Temperature-Dependent Band Gap in Two-Dimensional Perovskites: Thermal Expansion Interaction and Electron-Phonon Interaction.