European Parliament elections deliver a fragmented result, with gains for eurosceptic and green parties as the traditional mainstream groups took a hit.