Over £4 million in National Lottery funding awarded to community groups across Wales