Theoretical Compton profile of diamond, boron nitride and carbon nitride