Theoretical calculation of exciton optical‐absorption intensity in III‐V and II‐VI semiconductor quantum wells