Dwarf spheroidal satellites of M31. I. Variable stars and stellar populations in andromeda XIX