Formation of collapse calderas