Santa Maria, Lompoc both set heat records Thursday, but cooler weather ahead