The Somali government has been criticised for failing to protect women from rape and sexual violence.