Exact Solution for Bending of Shape Memory Alloy Beams