Orbital ordering and quasi-two-dimensional magnetism in AMnF4 (A=