Reissner's mixed variational theorem for layer-wise refined beam models based on the unified formulation