Event-by-event distributions of azimuthal asymmetries in ultrarelativistic heavy-ion collisions