Unfolded proteins, compact states and molten globules