Polar optical phonons in core–shell semiconductor nanowires