Large deviations for occupation times of measure-valued branching Brownian motions