Finite-time analysis of single-timescale actor-critic