Turkish prime minister talks of 'shared pain' in statement on Armenian killings