Observability of switched linear systems in continuous time