Classical capacity of Gaussian thermal memory channels