Chiral anomaly and magnetotransport in Weyl semimetals