Studies of the N=32,34 subshell closures in neutron-rich nuclei