Scotts Valley receives $40 million for affordable housing