Local public libraries awarded grants