Systematic investigation of the drip-line nuclei 11Li and 14Be and their unbound subsystems 10Li and 13Be