Homogenization of Problems of Elasticity Theory on Periodic Box and Rod Frames of Critical Thickness