Characters of Demazure modules and solvable lattice models