Symmetry analysis of the Klein-Gordon equation in Bianchi I spacetimes