Finite-frequency spin conductance of the interface between a ferro- or ferrimagnetic insulator and a normal metal