正方形ABCD-A1B1C1D1的棱长为a,求异面直线BD1和B1C1所成的角的余弦值