Spin-polarized electrons and magnetoresistance in ferromagnetic tunnel junctions and multilayers