Perfect monoids with zero and categories of S-acts