Control of ferromagnetism in Mn delta-doped GaAs-based semiconductor heterostructures