On the existence of control Lyapunov functions and state-feedback laws for hybrid systems