Spin valves using amorphous magnetic layers