Classical and mixed finite elements for the analysis of multifield problems and smart layered plates