Homemade baked beans from scratch