Text this: Analysis of the transfer function for layered piezoelectric ultrasonic sensors