A New Approach to Investigate Dineutron Correlation and Its Application to 10Be