Brushes of flexible, semiflexible, and rodlike diblock polyampholytes: Molecular dynamics simulation and scaling analysis.