Greek Prime Minister Alexis Tsipras said he would call snap elections following the defeat of his Syriza party in European Parliament elections.