Equivariant amortized inference of poses for cryo-EM