Fluctuations of conserved charges from imaginary chemical potential