A Nonlinear Transformation Field Procedure for Periodic Masonry Based on an Equivalent Cosserat Medium