Homemade baked beans from scratch in the oven