Frames and MV-algebras