Tunable and switchable bulk acoustic resonator with graded BST composition