Mortgage rates rise to 5.66%, weighing on housing market