Clubs agree to Premier League spending cap 'in principle'