Enhancement of the Critical Temperature of Superconductors by Anderson Localization