Observability conditions for a class of mixed distributed and lumped parameter systems