Apparatus and capsule for the production of a liquid product