what teams did quarterback nick foles play for