‘Rhythm is a thing that defines us’: Johnny Flynn on his career as actor and musician