Confined longitudinal and transverse phonons in GaAs/AlAs superlattices