stream: split `objectMode` for Duplex

This PR introduces `readableObjectMode` and `writableObjectMode` options for Duplex streams.

This can be used mostly to make parsers and serializers with Transform streams.

Also the docs section about stream state objects is removed, because it is not relevant anymore.

fixes #6284