On the representation dimension of monomial and self-injective special multiserial algebras