First principles determination of the magnetic structure of p(1×1) O/Fe(001)