US justice department to appeal ruling on morning after pill