Two-dimensional magnetic interactions in LaFeAsO