Tunable linear and quadratic optomechanical coupling for a tilted membrane within an optical cavity: theory and experiment