Strong and weak form solutions of curved beams via Carrera’s unified formulation