Observability and controllability of Maxwell's equations