Equalizers and kernels in categories of monoids