Research shows charities losing out by not tailoring campaigns to social classes