Microscopic Theory of a Critical Temperature of Superconducting Superlattices