Polar optical phonons in wurtzite spheroidal quantum dots: theory and application to ZnO and ZnO/MgZnO nanostructures