Adhesive bonding for mechanically stacked solar cells