Phenomenological theory of the increase in the superconducting transition temperature in thin film layered sandwiches