Water-based rust inhibitor