Design of optimized convolutional and serially concatenated convolutional codes in the presence of a-priori information