Development of a scale to measure attitude towards family planning