Four charities that serve Bradford have been awarded a share of a Yorkshire Building Society Charitable Foundation fund.