Older people are to be encouraged to take part in more theatre and arts activities thanks to a new £3 million fund.