Abundances of Light Elements in Metal Poor Stars. IV.[Fe/O] and [Fe/Mg] Ratios and the History of Star Formation in the Solar Neighbourhood