Occupation measure methods for modelling and analysis of biological hybrid automata