Knowledge, attitude and preferences of pregnant women towards mode of delivery in a tertiary care center