Transition temperature of superconducting-magnetic proximity effect sandwiches