On the Hamilton-Waterloo problem: the case of two cycles sizes of different parity