Magnetoelectric effect and critical behavior in the Ising-like antiferromagnet, DyAlO3