Proximity effect in superconducting bilayers and multilayers