Field-induced magnetic transitions in the quasi-two-dimensional heavy-fermion antiferromagnets Ce{sub n}RhIn{sub 3n+2} (n=1 or 2)