The HCO(+)/HOC(+) abundance ratio in molecular clouds