Optimal preparation and characterization of poly(urea–formaldehyde) microcapsules