Former England striker Michael Owen has announced he will retire from football at the end of the season.