Interlayer coupling and the metal-insulator transition in Pr-substituted Bi2Sr2CaCu2O8+y.