Intragroup and intergroup secret image sharing based on homomorphic Lagrange interpolation