Boundary control theory for beams and plates