Piston-type dispenser with one-way valve for storing and dispensing metered amounts of substances