Sri Lankan prime minister resigns amid protests over economic crisis