Tuft and Needle is betting it can apply tech lessons to building a cheaper and more comfortable mattress.