Representation theory and cohomology theory of meromorphic open-string vertex algebras