The Hu-Washizu Variational Principle for Identification of Imperfections in Beams