Clashes have erupted across Turkey as residents rally in anger at a mining accident which killed 274 people in the western Turkish town of Soma on Tuesday.