Magnetic anisotropy of antiferromagnet and its role on the exchange bias in ferromagnetic/antiferromagnetic bilayers