Regularity of minimal boundaries with obstacles