Cosmology with fast radio bursts in the era of SKA