Two-time Olympic javelin champion Barbora Spotakova announces retirement