Josephson junctions with second harmonic in the current-phase relation: Properties of φ junctions