Boundary Value Problems and Sharp Inequalities for Martingale Transforms