Photoacoustic Signal Formation in Heterogeneous Multilayer Systems with Piezoelectric Detection