Factors influencing pre-stroke and post-stroke quality of life among stroke survivors in a lower middle-income country