Ground states of one and two fractional vortices in long Josephson 0-κ junctions