On optimal proportional reinsurance and investment in a hidden Markov financial market