Modeling junctions of plates and beams by means of self-adjoint extensions