Effective Fields in Magnetic Thin Films: Application to the Co/Cu and Fe/Cr Systems