Bill to require Maine institutions to buy local foods becomes law