Study of NiO/NiFe/Cu/NiFe spin valves