West Midlands Police’s recording of violent crime and sex offences is rated inadequate by inspectors.