A layer-wise theory of shallow shells with thin soft core for laminated glass and photovoltaic applications