Anisotropic Magnetodielectric Coupling in Layered Antiferromagnetic FePS$_3$