Inelastic light scattering by longitudinal acoustic phonons in thin silicon layers: From membranes to silicon-on-insulator structures