Cosmology with weak lensing voids and peaks