First-principles study of bulk and two-dimensional structures of the AMnBi family of materials (A=K,Rb,Cs)