Isogeometric analysis of laminated composite and sandwich plates using a layerwise deformation theory