A layer-wise laminate theory rationally deduced from the three-dimensional elasticity