In-beam study of 136Ce and 138Nd isotones with N = 78