Optical gaps and interband matrix elements of silver as a function of temperature