M06-SX screened-exchange density functional for chemistry and solid-state physics