Swedish parliament approves bill allowing NATO membership