16 bit binary to bcd conversion